.goods_form {
  width: 100%;
  background-color: #ffffff;
}

.content-top {
  position: sticky;
  top: 88rpx;
  left: 0;
  z-index: 5;
  background-color: #ffffff;
  .content-top-shop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
    font-size: 30rpx;
    color: #1d2129;
    line-height: 42rpx;
    text-align: left;
    padding: 28rpx 30rpx;
    .content-top-des {
      font-weight: 400;
      font-size: 24rpx;
      color: #86909c;
      line-height: 34rpx;
      text-align: left;
    }

    .content-top-shop-right {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      font-weight: bold;
      font-size: 30rpx;
      color: #1679fb;
      line-height: 42rpx;
      text-align: left;
      margin-left: 10rpx;
    }
    .content-top-shop-right-icon {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      font-weight: 400;
      font-size: 28rpx;
      color: #86909c;
      line-height: 40rpx;
      text-align: right;
      .new_select {
        color: #1d2129;
      }
    }
  }
  .content-top-up {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
    font-size: 28rpx;
    color: #86909c;
    line-height: 40rpx;
    text-align: left;
    padding: 28rpx 30rpx;
    background-color: #f7f8fa;
    .content-top-shop-right {
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
  }
}

.scroll-Y-item {
  padding: 18rpx 24rpx;
  display: flex;
  position: relative;
  border-bottom: 1rpx solid #f5f5f5;
  .scroll-item-left {
    width: 104rpx;
    height: 104rpx;
    image {
      width: 104rpx;
      height: 104rpx;
      border-radius: 8rpx 8rpx 8rpx 8rpx;
    }
  }
  .scroll-item-right {
    flex: 1;
    padding-left: 16rpx;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .goods-item-title {
      font-weight: 400;
      font-size: 24rpx;
      color: #1d2129;
      line-height: 34rpx;
      text-align: left;
    }
    .goods-item-spec {
      font-weight: 400;
      font-size: 20rpx;
      color: #86909c;
      line-height: 28rpx;
      text-align: left;
    }
    .goods-item-price {
      margin-top: 8rpx;
      font-weight: 400;
      font-size: 24rpx;
      color: #ff5722;
      line-height: 34rpx;
      text-align: left;
    }
    //   .scroll-item-title {
    //     font-size: 28rpx;
    //     font-weight: 400;
    //     color: #1a2029;
    //     line-height: 40rpx;
    //     overflow: hidden;
    //     text-overflow: ellipsis;
    //     display: -webkit-box;
    // }
  }
}

//底部加载
.loading-form {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 10rpx;
  padding-bottom: 10rpx;
  .loading-text {
    font-size: 24rpx;
    color: #86909c;
  }
}

//无数据
.noData {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20%;
  image {
    width: 356rpx;
    height: 356rpx;
  }
  .noData-img {
    view {
      font-weight: 400;
      font-size: 24rpx;
      color: #1d2129;
      line-height: 34rpx;
      text-align: center;
    }
  }
}

.goods-item-num {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  width: 200rpx;
  position: absolute;
  right: 30rpx;
  bottom: 20rpx;
  .selectindex {
    font-weight: 400;
    font-size: 22rpx;
    color: #f53f3f;
    line-height: 30rpx;
    text-align: right;
    margin-top: 8rpx;
    width: 100%;
  }
}
::v-deep .goods-item-num .u-number-box__minus {
  border-radius: 50%;
  border: 1px solid #1679fb;
  width: 50rpx;
  height: 50rpx !important;
}
::v-deep .goods-item-num .u-number-box__plus {
  border-radius: 50%;
  border: 1px solid #1679fb;
  background-color: #1679fb !important;
  width: 50rpx;
  color: #ffffff !important;
  height: 50rpx !important;
}
::v-deep .goods-item-num .u-number-box__minus .u-icon__icon {
  color: #1679fb !important;
  font-size: 28rpx !important;
  line-height: 50rpx !important;
}
::v-deep .goods-item-num .u-number-box__plus .u-icon__icon {
  color: #ffffff !important;
  font-size: 28rpx !important;
  line-height: 50rpx !important;
}
//
::v-deep .goods-item-num .u-icon__icon {
  // font-size: 30rpx !important;
}

.goods_bt {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  z-index: 3;
  width: 100%;
  border-top: 2rpx solid #e5e6eb;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  .goods_bt_to {
    width: 100%;
    display: flex;
    padding: 16rpx 30rpx;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    .blue {
      font-weight: 400;
      font-size: 28rpx;
      color: #1679fb;
      line-height: 40rpx;
    }
  }
  .val-button {
    height: 64rpx;
  }
}

.goods_p {
  padding: 36rpx 32rpx;
  .goods {
    display: flex;
    justify-content: flex-start;
    .left {
      width: 112rpx;
      height: 112rpx;
      border-radius: 8rpx;
      image {
        width: 112rpx;
        height: 112rpx;
      }
    }
    .right {
      margin-left: 24rpx;
      .title {
        font-weight: 500;
        font-size: 28rpx;
        color: #1d2129;
        line-height: 40rpx;
        text-align: left;
      }
      .code {
        font-weight: 400;
        font-size: 20rpx;
        color: #86909c;
        line-height: 28rpx;
        text-align: left;
      }
      .price {
        margin-top: 15rpx;
        font-weight: 500;
        font-size: 24rpx;
        color: #ff5722;
        line-height: 34rpx;
        text-align: left;
      }
    }
  }
  .num {
    padding-top: 28rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left {
      font-weight: 400;
      font-size: 30rpx;
      color: #1d2129;
      line-height: 42rpx;
      text-align: left;
    }
  }
}

.popups {
  .goods_bt {
    position: relative;
    background-color: #ffffff;
    z-index: 3;
    width: 100%;
    border-top: 2rpx solid #e5e6eb;
    padding-bottom: 0rpx;

    .goods_bt_to {
      width: 100%;
      display: flex;
      padding: 16rpx 30rpx;
      justify-content: space-between;
      align-items: center;
      box-sizing: border-box;
      .blue {
        font-weight: 400;
        font-size: 28rpx;
        color: #1679fb;
        line-height: 40rpx;
      }
    }
    .val-button {
      height: 64rpx;
    }
  }
}

.popup-content {
  .popup-content-title {
    font-weight: bold;
    font-size: 32rpx;
    color: #1d2129;
    line-height: 44rpx;
    text-align: center;
    padding-top: 40rpx;
  }
  .scroll-Y {
    max-height: 60vh;
    height: auto;

    .scroll-to {
      width: 100%;
      padding: 26rpx 32rpx;
      box-sizing: border-box;
      font-weight: 400;
      font-size: 30rpx;
      color: #1d2129;
      line-height: 45rpx;
      text-align: left;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .scroll-to-title {
        font-weight: 400;
        font-size: 30rpx;
        color: #1d2129;
        line-height: 45rpx;
        text-align: left;
      }
      .scroll-to-title-sel {
        color: #1679fb;
      }
    }
  }
  .popup-content-btn {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 20rpx 30rpx;
  }
  .bt-qx {
    margin-right: 46rpx;
    border: 1rpx solid #e6e6e6;
  }
}

.show-camera {
  width: 100%;
  position: fixed;
  z-index: 9999999;
  top: 0rpx;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  margin-top: 120rpx;

  .show-camera-k {
    width: 80%;
    margin: 0 auto;
    margin-top: 60rpx;
    padding: 30rpx;
    color: #000000;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 20rpx;

    .show-sm {
      font-weight: bold;
      font-size: 26rpx;
    }

    .show-des {
      margin-top: 10rpx;
      font-size: 22rpx;
    }
  }
}
